package com.ruoyi.carUser.service;

import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.system.api.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("carShop")
public interface ShopLoginService {
    @RequestMapping("/createSms")
    public Map createSms(@RequestParam("phoneNumber") String phoneNumber);
    @GetMapping("/user/list")
    public TableDataInfo list(User user);
}
